﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="DungVM_Search" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<head id="Head1">
    <link href="jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <script src="../Styles/jquery-1.2.6.min.js" type="text/javascript"></script>
    <script src="../Styles/jquery.autocomplete.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%=txtJob.ClientID%>").autocomplete('AutoComplate.ashx');
        });       
</script>
    <title>Seach Vacancy</title>
</head>
    <style type="text/css">
        .style1
        {
            width: 170px;
        }
        .style2
        {
            width: 126px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceholder" Runat="Server">
    <div>
        <table style="width:55%;">
            <tr>
                <td class="style1">
                    <asp:Label ID="lblSearch" runat="server" Text="Search by Job"></asp:Label>
                    <br />
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtJob" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" 
                        Text="Search" Width="91px" />
                </td>
            </tr>
        </table>
    </div>
    <div id="Vacancylist">
        
        <asp:GridView ID="grvVacancy" runat="server" AutoGenerateSelectButton="True" 
            CellPadding="4" BackColor="White" BorderColor="#CC9966" BorderStyle="None" 
            BorderWidth="1px">
            <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
            <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
            <RowStyle BackColor="White" ForeColor="#330099" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" 
                BorderColor="Silver" BorderWidth="1px" />
            <SortedAscendingCellStyle BackColor="#FEFCEB" />
            <SortedAscendingHeaderStyle BackColor="#AF0101" />
            <SortedDescendingCellStyle BackColor="#F6F0C0" />
            <SortedDescendingHeaderStyle BackColor="#7E0000" />
        </asp:GridView>
        
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

